/*
 * Copyright (c) 2009 - DHTMLX, All rights reserved
 */
import java.util.ArrayList;

import com.dhtmlx.connector.*;

public class scheduler_07_array extends ConnectorServlet {

	@Override
	protected void configure() {
		ArrayList<Object> data = new ArrayList<Object>();
		data.add(new SchedulerEvent(1, "2012-05-24 00:00", "2012-05-25 00:00", "creation time"));
		data.add(new SchedulerEvent(2, "2010-02-16", "2084-06-08", "second part"));

		SchedulerConnector c = new SchedulerConnector(null);
		c.render_array(data, "event_id","start_date,end_date,event_name");
	}
}
